//    Copyright (C) Kherty.  All rights reserved.
using System;

namespace OpenLS.Spreadsheet
{
    struct TableFunction
    {
        private readonly Action<Range> _clearFunction;
        public Action<Range> ClearFunction
        {
            get { return _clearFunction; }
            
        }

        private readonly BinaryAction<Range, Range> _copyFunction;
        public BinaryAction<Range, Range> CopyFunction
        {
            get { return _copyFunction; }
            
        }

        public TableFunction(Action<Range> clearFunction, BinaryAction<Range, Range> copyFunction)
        {
            _clearFunction = clearFunction;
            _copyFunction = copyFunction;
        }
    }
}